<div class="row">
    <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
        <h1 class="txt-color-red center">{:L('no_priv_page')}</h1>
        <p style="display: none" id="jump">
            页面自动 <a id="href" href="javascript:void(0)" target="_self">跳转</a> 等待时间： <b id="wait">5</b>s
        </p>
    </div>
</div>

<script type="text/javascript">
(function(){
    var wait = document.getElementById('wait');
    if( window.history.length>0 ){
        $('#jump').show();
        var interval = setInterval(function(){
            var time = --wait.innerHTML;
            if(time <= 0) {
                window.history.go(-1);
                clearInterval(interval);
            };
        }, 1000);
        $('#href').click(function(){
            window.history.go(-1);
        });
    }
})();
</script>